package com.sugar.queryinfo.module.business.api.bi.dto.req.sjzwsj;

import com.sugar.queryinfo.module.business.api.bi.core.BackInvestBasicApi;
import com.sugar.queryinfo.module.business.api.bi.core.dto.ApiReqVO;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 手机在网时长 请求体
 */
@Data
public class ZCI003ReqVO implements ApiReqVO {

    /**
     * 手机号
     */
    @NotBlank(message = "手机号不能为空")
    private String phone;

    @Override
    public void encrypt() {
        this.phone = BackInvestBasicApi.encrypt(this.phone);
    }
}
